CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 搜索资源 - 中缀 后缀 求值

搜索资源列表

  1. mingtiyansuan

    0下载:
  2. (1)利用二叉树来计算公式的真值。首先利用堆栈将中缀形式的公式变为后缀形式;然后根据后缀形式,从叶结点开始构造相应的二叉树;最后按后序遍历该树,求各子树之值,即每到达一个结点,其子树之值已经计算出来,当到达根结点时,求得的值就是公式之真值。 (2)逻辑变元的标识符不限于单字母,而可以是任意长的字母数字串。 (3)根据用户的要求显示表达式的真值表。
  3. 所属分类:数据结构常用算法

    • 发布日期:2008-10-13
    • 文件大小:6932
    • 提供者:hillary
  1. middlenumberchanggetolatter

    0下载:
  2. 中缀表达式转变为后缀表达式的代码,并且求出值返回
  3. 所属分类:Windows编程

    • 发布日期:2008-10-13
    • 文件大小:813
    • 提供者:张小虎
  1. tree

    0下载:
  2. 算术表达式与二叉树之间存在着对应关系,编写把以前缀形式输入的合法算术表达式转换为中缀表达式,再转换为后缀表达式,并求表达式的值-Arithmetic expressions with binary tree there is a correlation between the preparation of the form to enter the legitimate prefix arithmetic expression conversion infix expression, and t
  3. 所属分类:Data structs

    • 发布日期:2017-04-03
    • 文件大小:1532
    • 提供者:ty
  1. mid-lat

    0下载:
  2. 一个数学表达式,先输入中缀表达式然后变成后缀表达式,并求出这个式子的值-A mathematical expression, and then to enter the infix expression into postfix expression, and calculated the value of this formula
  3. 所属分类:Mathimatics-Numerical algorithms

    • 发布日期:2017-03-28
    • 文件大小:685934
    • 提供者:张杰
  1. formula-for-calculating--true-value

    0下载:
  2. 计算命题演算公式的真值,所谓命题演算公式是指由逻辑变量(其值为TRUE或FALSE)和逻辑运算符∧(AND)、∨(OR)和┐(NOT)按一定规则所组成的公式(蕴含之类的运算可以用∧、∨和┐来表示)。公式运算的先后顺序为┐、∧、∨,而括号()可以改变优先次序。已知一个命题演算公式及各变量的值,要求设计一个程序来计算公式的真值。 要求: (1)利用二叉树来计算公式的真值。首先利用堆栈将中缀形式的公式变为后缀形式;然后根据后缀形式,从叶结点开始构造相应的二叉树;最后按后序遍历该树,求各子树之值
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:165918
    • 提供者:陈庆
  1. Infix--to-suffix-

    0下载:
  2. 中缀表达式转换为后缀表达式,并且求取表达式值,而且能够输出表达式-Infix expression convert to suffix expression
  3. 所属分类:software engineering

    • 发布日期:2017-04-08
    • 文件大小:386321
    • 提供者:Advanced
  1. zhan

    0下载:
  2. 能够将一个输入的中缀表达式(数字为一位或两位数)转换成后缀表达式,并能求出表达式的值。-Convert an input infix expression (figures for the one or two digits) the the suffix expression, and to evaluate the expression.
  3. 所属分类:Data structs

    • 发布日期:2017-11-24
    • 文件大小:2200
    • 提供者:吴莹
  1. lab1-Calculator

    0下载:
  2. 四则运算求值 求表达式的值的基本思想就是 后缀表达式求值以及如何实现 Knuth 将此概括为三个步骤: 对中缀表达式进行语法分析 中缀表达式到后缀表达式的转换 对后缀表达式求值 思路:首先利用栈A把四则运算的字符串从中序表达式转换成后序表达式;然后对后序表达式,如果是数字则保存到另一个栈B中,如果是运算符(+,-,*,/)就从栈B中依次获取栈顶两个操作数进行运算,运算结果再压栈B,如此反复,最终栈B中最后的值就是运算结果。-Cacluate t
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-14
    • 文件大小:2940
    • 提供者:hinata
  1. sizeyunsuan

    0下载:
  2. 四则运算表达式求值,将四则运算表达式用中缀表达式,然后转换为后缀表达式,并计算结果。-Four arithmetic expression uation, the four arithmetic expressions used in infix expression, and then converted to a postfix expression, and calculate the results.
  3. 所属分类:assembly language

    • 发布日期:2017-04-14
    • 文件大小:3204
    • 提供者:juwairen
  1. expression-evaluate

    0下载:
  2. 将中缀表达式转换成后缀表达式,再将后缀表达式求值-Convert infix expression into postfix notation, then postfix expression uation
  3. 所属分类:Other windows programs

    • 发布日期:2017-05-09
    • 文件大小:1756628
    • 提供者:黄安
  1. Arithmetic-expression-evaluation

    1下载:
  2. [问题描述] 表达式计算是实现程序设计语言的基本问题之一。也是栈的应用的一个典型例子。设计一个程序,演示用算符优先法或转换成后缀表达式方法对算术表达式进行求值的过程。 [基本要求] 以字符序列的形式从终端输入语法正确的、不含变量的整数表达式。利用中缀表达式向后缀表达式转换的方法,实现对算术四则混合运算表达式的求值。-Expression computing is to achieve one of the basic problems of program design langu
  3. 所属分类:Data structs

    • 发布日期:2017-04-13
    • 文件大小:1587
    • 提供者:Vicki Cui
  1. 24-point-embedded-simple-calculator

    0下载:
  2. 24点内简易计算器的实现。中缀表达式变为后缀表达式然后求值-Simple calculator within the 24-point implementation. Infix expression into postfix expression is then uated
  3. 所属分类:Multimedia Develop

    • 发布日期:2017-04-13
    • 文件大小:2091
    • 提供者:shi54497
  1. operation

    0下载:
  2. 用栈实现表达式求值,将中缀表达式转换成后缀表达式-Use the stack to uate the expression and convert the infix expression into a suffix expression
  3. 所属分类:Data structs

    • 发布日期:2017-05-05
    • 文件大小:402016
    • 提供者:任何
  1. write_expjession

    0下载:
  2. 实现中缀变后缀表达式求值,用VC编写的,大家可以来看看,发表下意见也行,-Implement infix suffix expression uation, using VC to write, you can see, the opinion,
  3. 所属分类:File Operate

    • 发布日期:2017-12-12
    • 文件大小:99997
    • 提供者:multiplt
  1. DSinfixtopostfix

    0下载:
  2. 简单的中缀表达式转后缀表达式并求值的程序。支持加减乘除。内置说明。(A simple program that converts infix expression to postfix, and calculates the postfix expression. Symbol + - * / = ( ) supported.)
  3. 所属分类:数据结构

    • 发布日期:2018-05-06
    • 文件大小:2048
    • 提供者:yves05
« 1 2 3 4 5»
搜珍网 www.dssz.com